//
//  API.h
//  dilidili
//
//  Created by 范月成 on 2017/12/5.
//  Copyright © 2017年 fancy. All rights reserved.
//

#ifndef API_h
#define API_h

#define kGentlManHostOne      @"https://e-hentai.org/"
#define kGentlManHostTwo      @"https://exhentai.org/"

#define kGentlManApi          @"api.php"
#define kArtworkDetail        @"?inline_set=ts_l&nw=always"

//PARSER  sub不再列举
#define kHomePageQuery                 @"//div[@class='it5']//a"
#define kArtworkThumbnailQuery         @"//div[@id='gdt']//div//div"
#define kArtworkInfoQuery              @"//div[@id='gdd']//tr"
#define kArtworkCommentsQuery          @"//div[@id='cdiv']"
#define kArtworkTagsQuery              @"//div[@id='taglist']//tr"

//ROUTER
#define kRouterArtworkList             @"gm://artwork/list/:type/:keyword"
#define kRouterArtworkDetail           @"gm://artwork/detail"
#define kRouterArtworkBrowser          @"gm://artwork/browser"
#define kRouterTorrentList             @"gm://torrent/"
#define kRouterDownloadList            @"gm://download/"
//NOTI
#define kNotificationReloadList        @"kNotificationReloadList"

#endif /* API_h */
